Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IntervalArray<T> Class / IndexOf Method
The object to locate in the IntervalArray<T>.


In This Topic
IndexOf Method (IntervalArray<T>)
In This Topic
Determines the index of a specific item in the IntervalArray<T>.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
 
'Usage
 
Dim instance As IntervalArray(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)

Parameters

item
The object to locate in the IntervalArray<T>.

Return Value

The index of item if found in the list; otherwise, -1.
See Also